home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 52
/
Amiga Format AFCD52 (Issue 136, May 2000).iso
/
-in_the_mag-
/
individualcomputers
/
silversurfer
/
s
/
startup-sequence
Wrap
Text File
|
2000-03-05
|
2KB
|
70 lines
;$VER: Silversurfer install script V1.1 (15.10.99) (C) Jens Schönfeld
resident >NIL: c:LEDwait force
resident >NIL: c:wait force
resident >NIL: c:echo force
resident >NIL: c:edit force
makedir ram:env
assign env: ram:env
echo ""
echo ""
run >NIL: wait 6000 >"con:0/0/1024/10/Please wait while installing"
echo "Welcome to the totally automatic installation"
echo "of the Silversurfer serial port expansion."
echo ""
assign vols >ram:vols
addbuffers >NIL: sys: 30
echo "ThisIsTheEnd" >>ram:vols
edit ram:vols WITH Delline >NIL:
Setenv InstallResult "not OK"
lab schleife
edit ram:vols env:Volume WITH Exline >NIL:
edit ram:vols WITH Delline >NIL:
if "$volume" EQ "ThisIsTheEnd"
skip ende
endif
if exists "$Volume:devs"
if NOT "$Volume" EQ "Silversurfer"
echo "Found possible boot partition $Volume:."
if exists "$Volume:devs/silversurfer.device"
protect "$Volume:devs/silversurfer.device" +dw
endif
copy Silversurfer:devs/silversurfer.device "$Volume:devs" CLONE
protect "$Volume:devs/silversurfer.device" -dw
setenv InstallResult "OK"
endif
endif
skip back schleife
echo "If you see this line, the only thing you can do is PANIC."
lab ende
echo ""
echo "installation was $InstallResult"
echo ""
if "$InstallResult" EQ "OK"
echo "Please remove the disk and reboot the computer. Your"
echo "Silversurfer Can now be used with the"
echo ""
echo "silversurfer.device"
echo ""
echo "with any program that has been using the serial.device"
echo "previously. The serial.device can still be used!"
lab blinkOKloop
ledwait 101
wait 2
skip back blinkOKloop
else
echo "This could have happened because a harddisk has not"
echo "been mounted upon cold-startup of your computer."
echo "Please Reset the computer now by pressing"
echo "<CTRL>-<lAmiga>-<rAmiga>"
echo "and leave the disk in the drive."
lab blinkERRORloop
ledwait 103
wait 2
skip back blinkERRORloop
endif
UnSet InstallResult
UnSet Volume
delete ram:vols >NIL: